﻿using B.S.BasicData.Domain;
using Microsoft.EntityFrameworkCore;

namespace B.S.BasicData.Infrastructure
{
    public class SCDbContext : DbContext
    {
        public SCDbContext(DbContextOptions options) : base(options)
        {
        }

  
        public DbSet<ProvinceModel> ProvinceModel {  get; set; }
        public DbSet<UserModel> UserModel {  get; set; }
        public DbSet<DepartmentModel> DepartmentModel {  get; set; }
        public DbSet<RoleModel> RoleModel {  get; set; }
        public DbSet<AccountRoleModel> AccountRoleModel {  get; set; }

        public DbSet<MenuModel> MenuModels { get; set; }

        public DbSet<MenuRoleModel> MenuRoleModels { get; set; }

        public DbSet<LeaveModel> LeaveModels { get; set; }


    }
}
